//
//  main.m
//  BOOL Party
//
//  Created by quentin on 15/8/19.
//  Copyright (c) 2015年 QuentinLabs. All rights reserved.
//

#import <Foundation/Foundation.h>

//- areIntsDifferent Thing
BOOL areIntsDifferent(int thing1,int thing2){
    if (thing1 == thing2) {
        return NO;
    }else{
        return YES;
    }
}

NSString* boolString(BOOL yesNo){
    if (yesNo == NO) {
        return @"NO";
    }else{
        return @"YES";
    }
    
}

int main(int argc, const char * argv[]) {

    BOOL areTheyDifferent;
    areTheyDifferent = areIntsDifferent(5, 5);
    NSLog(@"are %d and %d different? %@",5,5,boolString(areTheyDifferent));
    
    areTheyDifferent = areIntsDifferent(23, 42);
    NSLog(@"are %d and %d different? %@",23,42,boolString(areTheyDifferent));
    
    return 0;
}
